using System;
using System.Collections.Generic;
using System.Text;
using OneSoft.EntityCore;
using BySoft.Server.Common.Schema;

namespace BySoft.Server.Common.Entity
{
	[Serializable]
	public class BsPurchasedetailEntity : EntityBase
	{
		public BsPurchasedetailTable TableSchema
		{
			get
			{
				return (BsPurchasedetailTable)_tableSchema;
			}
		}

		public BsPurchasedetailEntity()
		{
			_tableSchema = BsPurchasedetailTable.Current;
		}

		#region 属性列表
		
		public Decimal? BillDetailID
		{

			
			get{ return GetData<Decimal>(BsPurchasedetailTable.C_BILLDETAILID); }
			
			
			set{ SetData(BsPurchasedetailTable.C_BILLDETAILID, value); }
		}

		
		public String BillID
		{

							
			get{ return Convert.ToString(GetData(BsPurchasedetailTable.C_BILLID));} 

			
			set{ SetData(BsPurchasedetailTable.C_BILLID, value); }
		}

		
		public Decimal? OrderNum
		{

			
			get{ return GetData<Decimal>(BsPurchasedetailTable.C_ORDERNUM); }
			
			
			set{ SetData(BsPurchasedetailTable.C_ORDERNUM, value); }
		}

		
		public String RquisitionID
		{

							
			get{ return Convert.ToString(GetData(BsPurchasedetailTable.C_RQUISITIONID));} 

			
			set{ SetData(BsPurchasedetailTable.C_RQUISITIONID, value); }
		}

		
		public Decimal? RquisitionDetailID
		{

			
			get{ return GetData<Decimal>(BsPurchasedetailTable.C_RQUISITIONDETAILID); }
			
			
			set{ SetData(BsPurchasedetailTable.C_RQUISITIONDETAILID, value); }
		}

		
		public String WorkOrderNo
		{

							
			get{ return Convert.ToString(GetData(BsPurchasedetailTable.C_WORKORDERNO));} 

			
			set{ SetData(BsPurchasedetailTable.C_WORKORDERNO, value); }
		}

		
		public String MaterialID
		{

							
			get{ return Convert.ToString(GetData(BsPurchasedetailTable.C_MATERIALID));} 

			
			set{ SetData(BsPurchasedetailTable.C_MATERIALID, value); }
		}

		
		public Decimal? Nums
		{

			
			get{ return GetData<Decimal>(BsPurchasedetailTable.C_NUMS); }
			
			
			set{ SetData(BsPurchasedetailTable.C_NUMS, value); }
		}

		
		public Decimal? MMNumber
		{

			
			get{ return GetData<Decimal>(BsPurchasedetailTable.C_MMNUMBER); }
			
			
			set{ SetData(BsPurchasedetailTable.C_MMNUMBER, value); }
		}

		
		public Decimal? Price
		{

			
			get{ return GetData<Decimal>(BsPurchasedetailTable.C_PRICE); }
			
			
			set{ SetData(BsPurchasedetailTable.C_PRICE, value); }
		}

		
		public Decimal? Amount
		{

			
			get{ return GetData<Decimal>(BsPurchasedetailTable.C_AMOUNT); }
			
			
			set{ SetData(BsPurchasedetailTable.C_AMOUNT, value); }
		}

		
		public DateTime? ExpectDate
		{

			
			get{ return GetData<DateTime>(BsPurchasedetailTable.C_EXPECTDATE); }
			
			
			set{ SetData(BsPurchasedetailTable.C_EXPECTDATE, value); }
		}

		
		#endregion
	}
}

